<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('merchant_car_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <image src="{$merchant_car.car_image}" width="30%" height="30%" style="border: 1px solid #eee" />
            <div style="display: inline-block;position: absolute;top: 20%;left: 34%;">
                <sapn style="display: block">{$merchant_car.car_name}</sapn>
                <sapn style="display: block;margin-top: 8%">车牌号：{$merchant_car.car_number}</sapn>
                <sapn style="display: block;margin-top: 8%" id="car_price">{$merchant_car.car_price}</sapn>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{:$order.start_time?datetime($order.start_time):''}"  data-rule="required" readonly>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$order.end_time?datetime($order.end_time):''}" data-rule="required">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Insurance_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-insurance_id" data-rule="required" data-source="merchant_car_insure/index" class="form-control selectpage" data-field="insure_name"  data-format-item="{insure_name} - {price}" data-params='{"custom[merchant_car_id]":{$order.merchant_car_id}}' name="row[insurance_id]" type="text" value="{$order.insurance_id}" data-rule="required">
        </div>
    </div>
    <!--    <div class="form-group">-->
    <!--        <label class="control-label col-xs-12 col-sm-2">{:__('Insurance')}:</label>-->
    <!--        <div class="col-xs-12 col-sm-8">-->
    <!--            <input id="c-insurance" class="form-control" step="0.01" name="row[insurance]" type="number" value="0.00" readonly>-->
    <!--        </div>-->
    <!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Handle_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-handle_fee" class="form-control" step="0.01" name="row[handle_fee]" type="number" value="{$merchant_car.handle_fee}" readonly>
        </div>
    </div>
    <!--    <div class="form-group">-->
    <!--        <label class="control-label col-xs-12 col-sm-2">{:__('Rental_money')}:</label>-->
    <!--        <div class="col-xs-12 col-sm-8">-->
    <!--            <input id="c-rental_money" class="form-control" step="0.01" name="row[rental_money]" type="number" value="0.00" readonly>-->
    <!--        </div>-->
    <!--    </div>-->
    <!--    <div class="form-group">-->
    <!--        <label class="control-label col-xs-12 col-sm-2">{:__('All_money')}:</label>-->
    <!--        <div class="col-xs-12 col-sm-8">-->
    <!--            <input id="c-all_money" class="form-control" step="0.01" name="row[all_money]" type="number" value="0.00" readonly>-->
    <!--        </div>-->
    <!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
